package com.kx.yooli.kx.wechat.utils.log;

import com.alibaba.fastjson2.annotation.JSONField;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * @author john_sqwen-childe.wen
 * date 2024/4/8
 * PROJECT_NAME wechat
 * description create LogBean by john_sqwen
 * and  value is
 */
public abstract class LogBean {
    private final Logger log = LoggerFactory.getLogger(LogBean.class);
    @JSONField(
            ordinal = 4
    )
    private String label;
    @JSONField(
            ordinal = 5
    )
    private String userName;
    @JSONField(
            ordinal = 6
    )
    private String fullName;
    @JSONField(
            ordinal = 7
    )
    private Object userId;
    @JSONField(
            ordinal = 8
    )
    private String ip;
    @JSONField(
            ordinal = 9
    )
    private String url;
    @JSONField(
            ordinal = 11
    )
    private Object params;

    public LogBean(String userName, String fullName, Object userId, String ip, String url, Object params) {
        this.userName = userName;
        this.fullName = fullName;
        this.userId = userId;
        this.ip = ip;
        this.url = url;
        this.params = params;
    }

    public String getLabel() {
        return this.label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public String getUserName() {
        return this.userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getFullName() {
        return this.fullName;
    }

    public void setFullName(String fullName) {
        this.fullName = fullName;
    }

    public Object getUserId() {
        return this.userId;
    }

    public void setUserId(Object userId) {
        this.userId = userId;
    }

    public String getIp() {
        return this.ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getUrl() {
        return this.url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Object getParams() {
        return this.params;
    }

    public void setParams(Object params) {
        this.params = params;
    }
}
